package com.e3.basdoc.bank.server;

import com.e3.basdoc.bank.service.BankQueryService;
import com.e3.basdoc.bank.service.BankService;
import com.e3.core.base.ServiceLocator;

public class BankServiceClient {
	
	private static BankQueryService bankQueryService;
	
	private static BankService bankService;
	
	public static BankQueryService getBankQueryService(){
		if(bankQueryService == null){
			bankQueryService = ServiceLocator.getQueryService(BankQueryService.class);
		}
		return bankQueryService;
	}
	
	public static BankService getBankService(){
		if(bankService == null){
			bankService = ServiceLocator.getService(BankService.class);
		}
		return bankService;
	}

}
